# while 1:
#     print('111')
#     name = input('请输入你的名字：')
#     if name == 'mia':
#         print('欢迎回家')
#         break
#     else:
#         print("一会再来吧")

# for i in range(10):
#     if i > 0 and i % 3 == 0:
#         print(i)
#         break

# 判断一个数字n是否是质数
# n = 11
# a = 2
# flag = 0
# while a < n:
#     if n % a == 0:
#         flag = 1
#         print(n,'n不是质数')
#         break
#     a += 1
# else:
#     print(n,"是一个质数")
# if not flag:
#     print(n,"是一个质数")


n = 5
for i in range(2,n):
    if n % i == 0:
        print(n,'不是质数')
        break
else:
    print(n,"是一个质数")

